home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Toolbox
/
Visual Basic Toolbox (P.I.E.)(1996).ISO
/
graphics
/
dimlib10
/
form1.frm
< prev
next >
Wrap
Text File
|
1995-11-13
|
4KB
|
164 lines
VERSION 2.00
Begin Form Form1
Caption = "DimLib VB Demo"
ClientHeight = 2445
ClientLeft = 1620
ClientTop = 1650
ClientWidth = 5445
Height = 2850
Left = 1560
LinkTopic = "Form1"
ScaleHeight = 2445
ScaleWidth = 5445
Top = 1305
Width = 5565
Begin CheckBox Check1
Caption = "Enable Dimming"
Height = 375
Left = 3660
TabIndex = 13
Top = 1320
Value = 1 'Checked
Width = 1755
End
Begin TextBox Text1
Height = 315
Index = 4
Left = 1500
TabIndex = 11
Text = "22041"
Top = 1560
Width = 1935
End
Begin TextBox Text1
Height = 315
Index = 3
Left = 1500
TabIndex = 9
Text = "Virginia"
Top = 1200
Width = 1935
End
Begin TextBox Text1
Height = 315
Index = 2
Left = 1500
TabIndex = 7
Text = "Falls Church"
Top = 840
Width = 1935
End
Begin TextBox Text1
Height = 315
Index = 1
Left = 1500
TabIndex = 5
Text = "6501 Oakwood Drive"
Top = 480
Width = 1935
End
Begin TextBox Text1
Height = 315
Index = 0
Left = 1500
TabIndex = 3
Text = "Tim Noonan"
Top = 120
Width = 1935
End
Begin CommandButton Command2
Caption = "Try Me Too!"
Height = 495
Left = 3660
TabIndex = 1
Top = 660
Width = 1215
End
Begin CommandButton Command1
Caption = "Try Me!"
Height = 495
Left = 3660
TabIndex = 0
Top = 120
Width = 1215
End
Begin Label Label2
Caption = "Zip Code:"
Height = 195
Index = 4
Left = 180
TabIndex = 12
Top = 1620
Width = 1215
End
Begin Label Label2
Caption = "State:"
Height = 195
Index = 3
Left = 180
TabIndex = 10
Top = 1260
Width = 1215
End
Begin Label Label2
Caption = "City:"
Height = 195
Index = 2
Left = 180
TabIndex = 8
Top = 900
Width = 1215
End
Begin Label Label2
Caption = "Address:"
Height = 195
Index = 1
Left = 180
TabIndex = 6
Top = 540
Width = 1215
End
Begin Label Label2
Caption = "Name:"
Height = 195
Index = 0
Left = 180
TabIndex = 4
Top = 180
Width = 1215
End
Begin Label Label1
Caption = "Don't forget to register DimLib!"
Height = 255
Left = 180
TabIndex = 2
Top = 1980
Width = 3255
End
End
Option Explicit
Sub Check1_Click ()
EnableDim Check1.Value
End Sub
Sub Command1_Click ()
Dim i As Integer
i = DimWindow(HWnd)
Form2.Show 1
i = UnDimWindow(HWnd)
End Sub
Sub Command2_Click ()
Dim i As Integer
i = DimWindow(HWnd)
MsgBox "I knew you could do it!"
i = UnDimWindow(HWnd)
End Sub
Sub Form_Load ()
ChDrive App.Path
ChDir App.Path
End Sub